/* normalize css starts here */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* normalize css ends here */


html {
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
    color: #222;
}

body {
    width: 600px;
    height: 600px;
}

.app {
    height: 100%;
    width: 100%;
    padding: 0;
}

.tab {
    height: 100%;
    width: 100%;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    text-align: left;
}

.tab .tab-nav {
    height: 32px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.tab .tab-nav .tab-nav-item {
    width: 80px;
    height: 32px;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.tab .tab-nav .tab-nav-item.active {
    background-color: bisque;
}

.tab .tab-content {
    flex: 1;
    width: 100%;
}

.tab .tab-content .tab-content-item {
    display: none;
    text-align: left;
}

.tab .tab-content .tab-content-item.active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
}

.settings-forms {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.settings-forms .source-form,
.settings-forms .target-form
 {
    flex: 1;
    width: calc(50vw);
    height: 100%;
}

.settings-forms .source-form {
    border-right: 1px solid #ddd;
}

.actions {
    border-top: 1px solid #ddd;
    padding: 5px 0;
    width: 100%;
    text-align: center;
}

.title {
    font-size: 18px;
    font-weight: 600;
}

.subtitle {
    font-size: 12px;
}

code {
    font-size: 12px;
    font-family: inherit;
    background-color: rgba(254, 237, 185, .3);
    padding: 3px 6px;
    border-radius: 2px;
}

.counter-label {
    font-size: 12px;
    margin-bottom: 5px;
}

.counter {
    font-size: 36px;
    font-weight: 700;
}

.button-container {
    margin-top: 15px;
}

.button {
    border: 0;
    display: inline-block;
    padding: 10px 20px;
    margin-right: 4px;
    margin-left: 4px;
    background-color: bisque;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: none;
    transition: transform .2s ease;
    user-select: none;
}

.button:focus {
    outline: none;
}

.button:hover {
    transform: scale(1.1);
}

.divider {
    margin: 30px auto 25px;
    width: 50px;
    border: .5px dashed #000;
    opacity: .1;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.form-item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
}

.form-item-label {
    font-size: 12px;
    color: #666;
    margin-right: 12px;
}

.form-item-control {
    flex: 1;
    font-size: 12px;
    color: #333;
}

.form-item-group {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-top: 10px;
    position: relative;
    height: 80px;
}

.form-item-group-actions {
    display: none;
    position: absolute;
    right: 6px;
    top: 0;
}

.form-item-group-actions .btn-delete {
    color: red;
    padding: 3px 6px;
    cursor: pointer;
}

.form-item-group:hover .form-item-group-actions  {
    display: flex;
    height: 80px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.form-item-group-item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

input {
    border: 1px solid #ddd;
    outline: none;
    box-shadow: none;
    padding: 3px 6px;
}

input:focus {
    border: 1px solid bisque;
}